<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel = "stylesheet" type = "text/css" href = "css/style.css"/>
<title>Sửa Sự Kiện</title>
</head>
<body>
<h3 align="center">Sửa Sự Kiện</h3>
<form id="form1" name="form1" method="post" action="control.php?action=update">
  <table width="80%" border="0" align="center">

    <tr>
      <td valign="top">ID </td>
      <td valign="top"><input name="id" type="text" id="id" value="<?php echo $row[0]?>" readonly/></td>
    </tr>
    <tr>
      <td width="23%" valign="top">Tiêu Đề </td>
      <td width="77%" valign="top"><input name="tieude" type="text" id="tieude" value="<?php echo $row[1]?>"/></td>
    </tr>
    <tr>
      <td height="27" valign="top">category </td>
      <td valign="top"><input name="category" type="text" id="category" value="<?php echo $row[2]?>" />
                          <select name="category">
                          <option value="Xã Hội">Xã Hội </option>
                          <option value="Thể Thao">Thể Thao </option>
                          <option value="Sự Kiện">Sự Kiện </option>
                          <option value="Đời Sống">Đời Sống</option>
                          <option value="Giáo Dục">Giáo Dục</option>
                      </select> </td>
    </tr>
    <!-- <tr>
      <td valign="top">Hình ảnh </td>
         <td valign="top"><input name="category" type="text" id="category" value="<?php echo $row[3]?>" /></td>
   	  <td>  <input type="file" name="userfile" size="40"/>
		<input type="checkbox" name="anhnho" value="on"> Xóa bỏ hình ảnh </td>
    </tr> -->  
    <tr>
      <td valign="top">Tóm Tắt </td>
      <td> <textarea name="tomtat" cols="80" rows="10" id="tomtat"><?php echo $row[5]?></textarea></td>
    </tr>
    <tr>
      <td valign="top">Nội Dung</td>
       <td> <textarea name="noidung" cols="80" rows="10" id="noidung"><?php echo $row[6]?></textarea></td>
    </tr>
    <tr>
      <td valign="top">&nbsp;</td>
      <td valign="top"><input type="submit" name="Submit" value="Cập nhật" />
      <input name="reset" type="reset" id="reset" value="Hủy bỏ" /></td>
    </tr>
  </table>
</form>
</body>
</html>
